package com.kotodama.application.cqrs.queries.tenant;

import com.kotodama.application.cqrs.queries.Query;
import com.kotodama.domain.entities.Tenant;

/**
 * 根据ID获取租户查询
 */
public class GetTenantByIdQuery extends Query<Tenant> {

    private final String tenantId;

    public GetTenantByIdQuery(String currentTenantId, String tenantId) {
        super(currentTenantId);
        this.tenantId = tenantId;
    }

    public String getTenantId() {
        return tenantId;
    }
}